import React from 'react'
import { Button, Drawer } from 'antd';
import { useState } from 'react';
const DrawerNext = (props) => {
const {open,onClose}=props
  
    return (
        <div>
            <>
             
                <Drawer title="Basic Drawer" placement="right" onClose={onClose} open={open}>
                    <p>Some contents...</p>
                    <p>Some contents...</p>
                    <p>Some contents...</p>
                </Drawer>
            </>
        </div>
    )
}

export default DrawerNext